﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
    namespace="AcademicPlanner.Data.Entities" assembly="AcademicPlanner.Data">

	<class name="UserEntity" table="users">
		<id name="Id" type="Int32" column="id" unsaved-value="0">
			<generator class="identity"/>
		</id>

		<property name="Name" unique="true" not-null="true" />
		<property name="Password" not-null="true" />
		<property name="Date_Added" not-null="true" />
		<property name="Active" not-null="true" />
	</class>
	
</hibernate-mapping>
